@import '@common/styles/index.scss';
@import '@common/styles/index.scss';

.userCenterEditHeader {
  position: relative;
  min-height: rem(284);
  border-bottom: 1px solid $spacer-bg-color;
  // background-color: pink;
  .headImgBox{
    position: absolute;
    left: 50%;
    top: rem(228);
    transform: translateX(-50%) translateY(-100%);
  }
  .userCenterEditDec {
    position: absolute;
    bottom: rem(16);
    display: flex;
    padding: 0;
    justify-content: center;
    align-items: center;
    width: 100%;
    .text {
      text-align: center;
      font-size: rem($font-size-base);
      text-overflow: -o-ellipsis-lastline;
      overflow: hidden;
      text-overflow: ellipsis;
      display: -webkit-box;
      -webkit-line-clamp: 2;
      line-clamp: 2;
      -webkit-box-orient: vertical;
      line-height: 1.2;
      color: $text-color-primary;
      margin-left: rem($margin-2n);
      :global {
        .dzq-input {
          width: 100%;
          height: rem(16);
        }
        .dzq-input__inner {
          width: 100%;
          line-height: 1;
          height: rem(16);
          border: none;
        }
      }
    }
    .dzq-icon {
      color: $text-color-regular;
      font-size: rem($font-size-middle);
    }
  }
  .userCenterEditCameraIcon {
    position: absolute;
    width: rem(34);
    height: rem(34);
    background-color: $primary-color;
    border-radius: 50%;
    right: 0;
    bottom: 0;
    box-sizing: border-box;
    border: rem(2) solid $white;
    display: flex;
    align-items: center;
    justify-content: center;
    :global {
      .dzq-icon {
        color: $white;
      }
    }
  }
}
